package com.ehe.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author rambo RedisAutoConfiguration
 */
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.ehe")
@SpringBootApplication
@EnableCaching
public class GatewayApplication {

    public static void main(String[] args) {

        SpringApplication.run(GatewayApplication.class, args);

        System.out.println("==================gateway  start  ================");

    }
}
